package net.slteam.base;


/**
 * ClassName: QPage
 * Description:
 * date: 4/2/22 8:26 AM
 *
 * @author calm
 * @since JDK 1.8
 */
@SuppressWarnings("unused")
public interface IPage {

//    @Schema(description = "当前页码，1为 第1页")
//    private int pageNum = 1;
//    @Schema(description = "每页查询数量,默认10条记录")
//    private int pageSize = 10;

    default Integer getPageNum() {
        return 1;
    }

    void setPageNum(Integer pageNum);

    default Integer getPageSize() {
        return 10;
    }

    void setPageSize(Integer pageSize);

}
